package com.msb.error;

/**
 * @ClassName: TokenException
 * @Author: zw
 * @Description: 出百万拳，行万里路；
 * @Create 2024/8/4-13:54
 * @Version 1.0
 */
public enum TokenException {
    TOKEN_USERNAME_IS_NOT_NULL(1001,"用户名不能为空", "TOKEN_USERNAME_IS_NOT_NULL")
    ;
    private Integer code;
    private String message;
    private String name;

    TokenException(Integer code, String message, String name) {
        this.code = code;
        this.message = message;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public String getName() {
        return name;
    }
}
